package com.example.dubbo.dto;

import java.io.Serializable;

/**
 * @description:
 * @author: yunchong.yang
 * @Date: 2021/6/7
 */
public class ProductDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;
    private String name;
    private Integer num;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "Product{" +
                ", id=" + id +
                ", name=" + name +
                ", num=" + num +
                "}";
    }

}
